package edu.szu.huhanpeng.doodlingFight.interfaces 
{
	
	/**
	 * ...
	 * @author Huhanpeng
	 */
	public interface IChessData extends IDisplayData
	{
		function get type():int;
		function set type(value:int):void;
		
		//function get row():int;
		//function get column():int;		
		//function set row(value:int):void;
		//function set column(value:int):void;
		//function get index():int;
		//function set index(value:int):void;
		
		function updatePosData(row:int, column:int):void;
		
		//1  2	3
		//4  5  6
		//7  8  9  数字12346789代表各方位的同类
		function get friend():Vector.<IChessData>;
		function set friend(value:Vector.<IChessData>):void;
		function resetFriend():void;
		
		function get square():ISquareData;	//棋子所在的方格
		function set square(value:ISquareData):void;
	}
	
}